drivers/pl011: Don't configure baudrate
authorShanker Donthineni <shankerd@codeaurora.org>
Thu, 9 Jun 2016 17:33:19 +0000 (12:33 -0500)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 20 Jun 2016 09:55:15 +0000 (10:55 +0100)
commit2048e17ca9dfe0c05881368d7a1fd9e83e37ba9b
treeae2ab7ec12b782e5b2c8b5c388ce13a6cba17883
parent08754333892407f415045c05659783baeb8fc5d4
drivers/pl011: Don't configure baudrate

The default baud and clock_hz configuration parameters are hardcoded
(commit 60ff9444480995008caf) for Versatile Express. Other platforms,
these default values may not be valid and might cause problems by
programming registers IBRD and FBRD incorrectly.

So, removing driver logic that sets the baudrate to fix the problem.
The behavior is unchanged because the driver was already relying on
the boot firmware for setting the correct baudrate.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
xen/drivers/char/pl011.c